<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        #bg{
            width: 600px;
            height: 600px;
            border: solid 1px red;
            margin: 0 auto;
            background-image: url("../img/boy.png");
            background-repeat: no-repeat;
            background-position: right bottom;
            /* background-position: 10px 20px; */
            background-size: 100% 100%;
        }
        #sp{
            border: solid 0px red;
            /* 设置显示背景图片的宽高 */
            width: 107px;
            height: 109px;
            background-image: url("../img/sp.jpg");
            background-position: -1px -6px;
            position: absolute;
            top: 0;
        }
        #sp2{
            border: solid 0px red;
            width: 107px;
            height: 109px;
            background-image: url("../img/sp.jpg");
            background-position: -118px -6px;
            position: absolute;
            left: 118px;
            top: 0;
        }
        #test{
            border: solid 1px #666;
            width: 300px;
            height: 50px;
            line-height: 50px;
            text-align: center;
            text-decoration: underline;
            margin: 0 auto;
            background-color: #ccc;
            box-shadow: 5px 5px 10px;
        }
    </style>
</head>
<body>
    <!--395 * 391-->
    <!-- <div id="bg">

    </div> -->
    <!-- <div id="sp">

    </div>
    <div id="sp2">

    </div> -->
    <div id="test">
        程序员，一群专业写代码的人
    </div>
</body>
</html>